toBoolean

fun <D> ReadOnlyProperty<D, String>.toBoolean(): ReadOnlyProperty<D, Boolean>
fun <D> ReadWriteProperty<D, String>.toBoolean(): ReadWriteProperty<D, Boolean>
fun <D> ReadOnlyProperty<D, String?>.toBoolean(): ReadOnlyProperty<D, Boolean?>
fun <D> ReadWriteProperty<D, String?>.toBoolean(): ReadOnlyProperty<D, Boolean?>

true if the string is equal to "true" (non case sensitively), false if it is equal to "false"(non case sensitively), or else throws. Analogous to String.toBooleanStrict.